judgment given for the plaintiff